package com.kdgc.power.aspect;

import org.springframework.stereotype.Service;

@Service
public class UserService {
    @LogAnnotation
     public String getName(String name){
        System.out.println("执行了方法");
        throw new RuntimeException("自定义异常");
//        return "方法执行的结果";
    }
}
